package com.wandian.news.bean;

import java.util.List;

/**
 * @Author: cl
 * @CreateDate: 2020/12/8 16:26
 * @UpdateRemark:
 */
public class ChallengePDTBean {

    /**
     * msg : success
     * code : 200
     * newslist : [{"answer":0,"analyse":"唐代","title":"程咬金是我国宋代的开国名将"}]
     */
    private String msg;
    private int code;
    private List<NewslistEntity> newslist;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setNewslist(List<NewslistEntity> newslist) {
        this.newslist = newslist;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public List<NewslistEntity> getNewslist() {
        return newslist;
    }

    public class NewslistEntity {
        /**
         * answer : 0
         * analyse : 唐代
         * title : 程咬金是我国宋代的开国名将
         */
        private int answer;
        private String analyse;
        private String title;

        public void setAnswer(int answer) {
            this.answer = answer;
        }

        public void setAnalyse(String analyse) {
            this.analyse = analyse;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getAnswer() {
            return answer;
        }

        public String getAnalyse() {
            return analyse;
        }

        public String getTitle() {
            return title;
        }
    }
}
